package io;

import java.io.IOException;
import java.io.RandomAccessFile;

public class UsingRandomAccessFile {
	static String file = "rtest.dat";
	static void display() throws IOException{
		RandomAccessFile rf=new RandomAccessFile(file, "r");
		for(int i=0;i<7;i++){
			System.out.println("Value"+i+": "+rf.readDouble());
		}
	}
}
